package com.hdcircles.autoform.presenter.contract;

import com.hdcircles.autoform.base.BasePresenter;
import com.hdcircles.autoform.base.BaseView;
import com.hdcircles.autoform.model.bean.QuestionBean;
import com.hdcircles.autoform.widget.ChoiceAnswerView;

import java.util.List;

/**
 * Created by hdcircles on 2016/9/29.
 */

public interface MultipleChoiceContract {

    interface View extends BaseView{
        void toSurvey(QuestionBean questionBean);
    }

    interface Presenter extends BasePresenter<View>{
        boolean validate(List<ChoiceAnswerView> answerViewList);
        void genQuestion(List<ChoiceAnswerView> answerViewList,QuestionBean questionBean);
    }
}
